package com.aismall.springcloud.utils;

import java.time.ZonedDateTime;

public class TimeStamp{
    public static void main(String[] args){
        ZonedDateTime zbj = ZonedDateTime.now(); // 默认时区
        System.out.println(zbj);
        //2021-08-21T16:19:55.980+08:00[Asia/Shanghai]
    }
}
